﻿@keyframes move-arrow {
    0% {
        color: #aaa;
        top: -15px;
    }

    100% {
        color: #fff;
        top: 0;
    }
}

.hero-unit {
    position: relative;
    background: #000;
    overflow: hidden;
    max-height: calc(100vh - 80px);

    img {
        display: block;
        width: 100%;
    }
}

.hero-unit__mask {
    position: absolute;
    bottom: 0;
    width: 100%;
    pointer-events: none;
}

.hero-unit__content {
    position: absolute;
    color: #fff;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;

    h1 {
        font-size: 34px;
        font-weight: 500;
        text-shadow: 2px 2px 4px rgba(0,0,0,.5);
        letter-spacing: 5px;
        line-height: 1.8;
    }

    p {
        font-size: 18px;
        font-weight: 300;
        text-shadow: 2px 2px 4px rgba(0,0,0,.95);
        margin: 10px 0;
    }

    div {
        text-align: center;
    }
}

.hero-unit__action {
    margin-top: 100px;

    .el-button {
        margin: 0 50px;
        font-size: 20px;
        padding: 20px 80px;
        border-radius: 37px;
    }
}

.hero-unit__next-section {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    color: #fff;
    font-weight: 700;
    font-size: 30px;
    cursor: pointer;
    opacity: .8;

    i {
        position:relative;
        font-weight:700;
        animation: move-arrow 1.5s ease-in infinite alternate
    }
}
